#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <string.h>

int main()
{
	char arr[] = "yhaoqi@xcxueyuan.com";
	char* p = "@.";
	char* str = NULL;
	for (str = strtok(arr, p); str != NULL; str = strtok(NULL, p))
	{
		printf("%s\n", str);
	}
	return 0;
}